/*
 * Player.h
 *
 *  Created on: 2 Nov 2012
 *      Author: guy
 */

#ifndef PLAYER_H_
#define PLAYER_H_

#include <iostream>
#include <tr1/memory>
#include <thread>

#include <exception>
#include <vector>
#include <list>
#include "core/Scene.h"
#include "types/Color.h"
#include "core/Time.h"
#include "types/Vector2D.h"
#include "types/Rect.h"


namespace SolidityEngine {


class Player {

    friend class Application;

private:
	Scene* _scene;
	bool _running;
	std::unique_ptr<SDL_Surface> _rendersurface;
    Vector2D _screenoffset;

public:
	Player();
	~Player();

protected:
    void _Loop();

};

} /* namespace SolidityEngine */
#endif /* PLAYER_H_ */
